﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NavControl.ascx.cs" Inherits="ERB.UserControl.Navigation.NavControl" %>


<div id="GridNavbar" runat="server" style="float: right; padding-bottom: 5px; padding-top: 5px;">
    <div class="divControl">
        <dx:ASPxButton ID="btnPrint" runat="server" Cursor="pointer"
            EnableTheming="False" Font-Names="Arial" ForeColor="#333333"
            HorizontalAlign="Left" Text="<%$ Resources:Language , btnNew %>" VerticalAlign="Middle" ImageSpacing="7px"
            Width="8px" Wrap="False" AutoPostBack="False" CausesValidation="False" EnableClientSideAPI="True"
            UseSubmitBehavior="False" CssClass="btn btn-primary">
        </dx:ASPxButton>
    </div>
    <div class="divControl">
        <dx:ASPxButton ID="btnNew" runat="server" Cursor="pointer"
            EnableTheming="False" Font-Names="Arial" ForeColor="#333333"
            HorizontalAlign="Left" Text="<%$ Resources:Language , btnNew %>" VerticalAlign="Middle" ImageSpacing="7px"
            Width="8px" Wrap="False" AutoPostBack="False" CausesValidation="False" EnableClientSideAPI="True"
            UseSubmitBehavior="False" CssClass="btn btn-primary">
        </dx:ASPxButton>
    </div>
    <div class="divControl">
        <dx:ASPxButton ID="btnEdit" runat="server" Cursor="pointer"
            EnableTheming="False" Font-Names="Arial" ForeColor="#333333"
            HorizontalAlign="Left" Text="<%$ Resources:Language , btnEdit %>" VerticalAlign="Middle" ImageSpacing="7px"
            Width="8px" Wrap="False" AutoPostBack="False" CausesValidation="False" EnableClientSideAPI="True"
            UseSubmitBehavior="False" CssClass="btn btn-warning">
        </dx:ASPxButton>
    </div>
    <div class="divControl">
        <dx:ASPxButton ID="btnDel" runat="server" Cursor="pointer"
            EnableTheming="False" Font-Names="Arial" ForeColor="#333333"
            HorizontalAlign="Left" Text="<%$ Resources:Language , btnDelete %>" VerticalAlign="Middle" ImageSpacing="7px"
            Width="8px" Wrap="False" AutoPostBack="False" CausesValidation="False" EnableClientSideAPI="True"
            UseSubmitBehavior="False" CssClass="btn btn-danger">
        </dx:ASPxButton>
    </div>
    <div class="divControl">
        <dx:ASPxMenu ID="mnExport" runat="server" AutoSeparators="RootOnly" BackColor="Transparent"
            CssFilePath="~/App_Themes/DevEx/{0}/styles.css" CssPostfix="DevEx" ShowPopOutImages="True"
            SpriteCssFilePath="~/App_Themes/DevEx/{0}/sprite.css" EnableSubMenuScrolling="True"
            OnItemClick="mnExport_ItemClick" EnableCallBacks="True" EnableClientSideAPI="True"
            RenderIFrameForPopupElements="False" RenderMode="Lightweight">
            <ClientSideEvents ItemClick="function(s, e) {
	if(e.item.index==0)
	{
		e.processOnServer = false;
	}
}" />
            <Items>
                <dx:MenuItem Text="<%$ Resources:Language , ExportTo %>">
                    <Items>
                        <dx:MenuItem Text="Word 2003" Name="DOC">
                            <Image Height="16px" Url="~/images/filetype/word333.png">
                            </Image>
                        </dx:MenuItem>
                        <dx:MenuItem Text="Excel 2003" Name="XLS">
                            <Image Height="16px" Url="~/images/filetype/excel8.png">
                            </Image>
                        </dx:MenuItem>
                        <dx:MenuItem Text="Excel 2007" Name="XLS2007">
                            <Image Height="16px" Url="~/images/filetype/excel2007.gif">
                            </Image>
                        </dx:MenuItem>
                        <dx:MenuItem Text="PDF" Name="PDF">
                            <Image Height="16px" Url="~/images/filetype/PDF.png">
                            </Image>
                        </dx:MenuItem>
                        <dx:MenuItem Text="CVS" Name="CVS">
                            <Image Height="16px" Url="~/images/filetype/gnome-mime-text-html.png">
                            </Image>
                        </dx:MenuItem>
                    </Items>
                </dx:MenuItem>
            </Items>
            <ItemImage Height="16px" Width="16px">
            </ItemImage>
            <LoadingPanelImage Url="~/App_Themes/DevEx/Web/Loading.gif">
            </LoadingPanelImage>
            <ItemSubMenuOffset FirstItemX="2" LastItemX="2" X="2" />
            <ItemStyle BackColor="Transparent" DropDownButtonSpacing="10px" HorizontalAlign="Left"
                ImageSpacing="5px" PopOutImageSpacing="8px">
                <HoverStyle BackColor="#E8E8E8" ForeColor="#FF9900">
                </HoverStyle>
                <BackgroundImage ImageUrl="0" />
            </ItemStyle>
            <LoadingPanelStyle ImageSpacing="5px">
            </LoadingPanelStyle>
            <SubMenuItemStyle>
                <Paddings Padding="4px" />
                <BorderLeft BorderStyle="None" />
                <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
            </SubMenuItemStyle>
            <SubMenuStyle GutterImageSpacing="9px" GutterWidth="3px">
                <BorderLeft BorderColor="#333333" BorderStyle="Solid" BorderWidth="4px" />
            </SubMenuStyle>
            <BackgroundImage ImageUrl="0" />
            <Border BorderStyle="None" />
        </dx:ASPxMenu>
    </div>
</div>

<dx:ASPxGridViewExporter ID="baseGVExport" runat="server" />
